package cn.wolfcode.luowowo.ticket.mapper;

import cn.wolfcode.luowowo.ticket.domain.Subject;

import java.util.List;

public interface SubjectMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Subject record);

    Subject selectByPrimaryKey(Long id);

    List<Subject> selectAll();

    int updateByPrimaryKey(Subject record);

    Subject selectByTicketId(Long tid);
}